package com.chaokang.dao.entity;

import java.util.List;

//{"question":[{"id":0,"title":"您的名字","answer":"任守超","type":"简答"},
// {"id":1,"title":"您的性别","option":[{"id":0,"value":"男","checked":"false"},{"id":1,"value":"女","checked":"false"},{"id":2,"value":"保密","checked":"true"}],"answer":"男","type":"单选"},
// {"id":2,"title":"您玩过一下几款游戏","option":[{"id":0,"value":"塞尔达传说：旷野之息"},{"id":1,"value":"荒野大镖客2：救赎"},{"id":2,"value":"巫师三"},{"id":3,"value":"双人成行"},{"id":4,"value":"只狼"}],"answer":["塞尔达传说：旷野之息","双人成行","荒野大镖客2：救赎"],"type":"多选"}]}
public class QuestionAnswerDetail {
    private int questionId;
    private String title;
    private String answer;
    private List<Option> options;
    private String type;
    public QuestionAnswerDetail(){}
    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public List<Option> getOptions() {
        return options;
    }

    public void setOptions(List<Option> options) {
        this.options = options;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public QuestionAnswerDetail(int questionId, String title, String answer, List<Option> options, String type) {
        this.questionId = questionId;
        this.title = title;
        this.answer = answer;
        this.options = options;
        this.type = type;
    }
}
